package com.thinkgem.jeesite.modules.dispatch.entity;

import java.util.Date;
import java.util.List;

import com.thinkgem.jeesite.common.persistence.DataEntity;
import com.thinkgem.jeesite.modules.shop.entity.order.ShopOrder;
import org.apache.ibatis.type.Alias;

/**
 * 操作记录Entity
 * 
 * @author ws
 * @version 2016-12-23
 */
@Alias("shopDispatch")
public class ShopDispatch extends DataEntity<ShopDispatch> {

    private static final long serialVersionUID = 1L;

    private String createUser;

    private Date createTime;

    private String orderId;

    private Long dispatchType;

    private String comment;

    private String dispatchNumber;

    private Double dispatchPrice;

    private Short status;

    // 收货信息
    private String code; // 快递单号

    private String company; // 快递公司

    private String name; // 收货人

    private String telephone; // 电话号码

    private String address; // 收货地址

    // 订单信息
    private ShopOrder shopOrder;

    private List<ShopDispatchOperate> shopDispatchOperates; // 操作记录

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public Long getDispatchType() {
        return dispatchType;
    }

    public void setDispatchType(Long dispatchType) {
        this.dispatchType = dispatchType;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getDispatchNumber() {
        return dispatchNumber;
    }

    public void setDispatchNumber(String dispatchNumber) {
        this.dispatchNumber = dispatchNumber;
    }

    public Double getDispatchPrice() {
        return dispatchPrice;
    }

    public void setDispatchPrice(Double dispatchPrice) {
        this.dispatchPrice = dispatchPrice;
    }

    public Short getStatus() {
        return status;
    }

    public void setStatus(Short status) {
        this.status = status;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public ShopOrder getShopOrder() {
        return shopOrder;
    }

    public void setShopOrder(ShopOrder shopOrder) {
        this.shopOrder = shopOrder;
    }

    public List<ShopDispatchOperate> getShopDispatchOperates() {
        return shopDispatchOperates;
    }

    public void setShopDispatchOperates(
            List<ShopDispatchOperate> shopDispatchOperates) {
        this.shopDispatchOperates = shopDispatchOperates;
    }

}
